﻿
using OrderingFoot.Core;

namespace OrderingFoot.DbContextCore
{
    /// <summary>
    /// 基实体
    /// </summary>
    public class BaseEntity : IEntity<ulong>
    {
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTimeOffset CreateTime { get; set; }

        /// <summary>
        /// 创建者ID
        /// </summary>
        public string? CreateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTimeOffset UpdateTime { get; set; }

        /// <summary>
        /// 更新者ID
        /// </summary>
        public string? UpdateBy { get; set; }
    }
}
